#ifndef __SRC_FIFO_H
#define __SRC_FIFO_H
#include <stdint.h>
#define CAM2RCP_FIFO "/tmp/cam2rcp" // read
#define RCP2CAM_FIFO "/tmp/rcp2cam" // write
#define MAX_EVENTS 10               // epoll 一次最多等待的事件数

int create_fifo(const char *filename);
int open_fifo(const char *filename);
int send_msg2rcp(int fd, uint8_t *data, int size);
#endif